package com.xshang.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 新增租户
 */
@Getter
public class SaveTenantEvent extends ApplicationEvent {

    private final String tenantId;

    private final String tenantName;

    public SaveTenantEvent(Object source, String tenantId, String tenantName) {
        super(source);
        this.tenantId = tenantId;
        this.tenantName = tenantName;
    }
}
